import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import GlobalCom from './components/GlobalCom.vue'

// 引入实例路由
import router from './router';

// 引入vuex实例
import store from './store';

// 引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)
app.component(GlobalCom.name, GlobalCom)
// 挂载路由
app.use(router)

// 挂载vuex
app.use(store)

// 挂载ElementPlus
app.use(ElementPlus)

app.mount('#app')
